private void OnEnable() { poolableDB = (PoolDatabase)target; string interactablesDBPath = "Assets/Data/Database/InteractablesDatabase.asset"; interactablesDB = AssetDatabase.LoadAssetAtPath <InteractablesDatabase>(interactablesDBPath); tileType = interactablesDB[0]; }
Vector2 scrollPos = Vector2.zero;//Pattern Show Scroll void OnEnable() { pattern = target as Pattern; idb = AssetDatabase.LoadAssetAtPath <InteractablesDatabase>("Assets/Data/Database/InteractablesDatabase.asset"); editAreaSeg = new Segment(idb[0]); }
private void OnEnable() { interactablesDB = (InteractablesDatabase)target; }