示例#1
0
 public static void InitDelegate()
 {
     if (GetVisitBehaviour != null)
     {
         return;
     }
     GetVisitBehaviour = FastDelegateFactory.Create <MarketAIGetVisitBehaviour>(typeof(MarketAI), "GetVisitBehaviour", instanceMethod: true);
 }
示例#2
0
        public static void InitDelegate()
        {
            if (GetVisitBehaviour != null)
            {
                return;
            }

            DebugLog.LogToFileOnly("Try to InitDelegate in RealCityMarketAI");
            GetVisitBehaviour = FastDelegateFactory.Create <MarketAIGetVisitBehaviour>(typeof(MarketAI), "GetVisitBehaviour", instanceMethod: true);
        }