示例#1
0
 void OnEnable()
 {
     manager = SAP2DManager.singleton;
     Coll2D  = GetComponent <Collider2D> ();
     CheckObstacleTiles(CurrentBounds);
 }
示例#2
0
 void Start()
 {
     manager = SAP2DManager.singleton;
 }
 void OnEnable()
 {
     manager = SAP2DManager.singleton;
     LoadPrefs();
     SceneView.onSceneGUIDelegate += manager.grid.GridDrawUpdate;
 }