private void Awake() { FSM_ShowHideImage = HideShowGO.AddComponent <FSM_ShowHideImage>(); }
// Use this for initialization void Awake() { progressBar = ProgBarGO.AddComponent <FSM_ProgressBar>(); FSM_ShowHideImage = HideShowGO.AddComponent <FSM_ShowHideImage>(); }