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