浏览代码

Remove unnecessary delegate and private Action.

/1.5-preview
Tim Mowrer 6 年前
当前提交
0394d64b
共有 1 个文件被更改,包括 5 次插入6 次删除
  1. 11
      Assets/Scripts/PlaceMultipleObjectsOnPlane.cs

11
Assets/Scripts/PlaceMultipleObjectsOnPlane.cs


/// </summary>
public GameObject spawnedObject { get; private set; }
/// <summary>
/// Invoked whenever an object is placed in on a plane.
/// </summary>
public static event Action onPlacedObject;
public delegate void PlacedObject();
private static Action s_PlacedObject;
public static event Action onPlacedObject;
void Awake()
{

正在加载...
取消
保存