コード例 #1
0
    //public float[] rotation; //will do this later

    public LevelCompletionData(PuzzleCompletion obj)
    {
        if (obj.counter > 0)
        {
            completed = true;
        }
    }
コード例 #2
0
    public override void Awake()
    {
        platform = GetComponent <PuzzleCompletion>();

        if (Application.isPlaying)
        {
            // Debug.Log("platform ID: " + uniqueId);
            LevelCompletionData data = LoadObjData();
            ObjSetup(data);
        }
    }