예제 #1
0
    private void OnEnable()
    {
        poolableDB = (PoolDatabase)target;

        string interactablesDBPath = "Assets/Data/Database/InteractablesDatabase.asset";

        interactablesDB = AssetDatabase.LoadAssetAtPath <InteractablesDatabase>(interactablesDBPath);

        tileType = interactablesDB[0];
    }
예제 #2
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]);
    }
예제 #3
0
 private void OnEnable()
 {
     interactablesDB = (InteractablesDatabase)target;
 }