//public float[] rotation; //will do this later public LevelCompletionData(PuzzleCompletion obj) { if (obj.counter > 0) { completed = true; } }
public override void Awake() { platform = GetComponent <PuzzleCompletion>(); if (Application.isPlaying) { // Debug.Log("platform ID: " + uniqueId); LevelCompletionData data = LoadObjData(); ObjSetup(data); } }