using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class AnimateOpening : MonoBehaviour { private Image plane, all; // Start is called before the first frame update void Start() { plane = GameObject.Find("Plane").GetComponent(); all = GameObject.Find("All").GetComponent(); } }