コード例 #1
0
        override protected void Awake()
        {
            base.Awake();
            m_Instance = this;

            m_ToolsToMonitor        = new List <BaseTool>();
            m_PanelDescriptionState = DescriptionState.Closed;
            m_PanelFlairState       = DescriptionState.Closed;
        }
コード例 #2
0
ファイル: BaseTool.cs プロジェクト: mikeage/open-brush-lfs
 virtual public void Init()
 {
     m_Parent = transform.parent;
     if (m_Parent != null)
     {
         m_ParentBaseScale = m_Parent.localScale;
         m_SketchSurface   = m_Parent.GetComponent <SketchSurfacePanel>();
     }
 }