Exemplo n.º 1
0
        override protected void Awake()
        {
            base.Awake();
            m_Instance = this;

            m_ToolsToMonitor        = new List <BaseTool>();
            m_PanelDescriptionState = DescriptionState.Closed;
            m_PanelFlairState       = DescriptionState.Closed;
        }
Exemplo n.º 2
0
 virtual public void Init()
 {
     m_Parent = transform.parent;
     if (m_Parent != null)
     {
         m_ParentBaseScale = m_Parent.localScale;
         m_SketchSurface   = m_Parent.GetComponent <SketchSurfacePanel>();
     }
 }