예제 #1
0
        public static bool RaiseBeforeWireCreated(GameObject gameObject, Mesh mesh)
        {
            if (BeforeWireCreated != null)
            {
                IntegrationArgs args = new IntegrationArgs(gameObject, mesh);
                BeforeWireCreated(args);
                return(!args.Cancel);
            }

            return(true);
        }
예제 #2
0
        public static bool RaiseBeginEditPivot(GameObject go, Mesh mesh)
        {
            if (BeginEditPivot != null)
            {
                IntegrationArgs args = new IntegrationArgs(go, mesh);
                BeginEditPivot(args);
                return(!args.Cancel);
            }

            return(true);
        }