public static void InitDelegate() { if (GetVisitBehaviour != null) { return; } GetVisitBehaviour = FastDelegateFactory.Create <MarketAIGetVisitBehaviour>(typeof(MarketAI), "GetVisitBehaviour", instanceMethod: true); }
public static void InitDelegate() { if (GetVisitBehaviour != null) { return; } DebugLog.LogToFileOnly("Try to InitDelegate in RealCityMarketAI"); GetVisitBehaviour = FastDelegateFactory.Create <MarketAIGetVisitBehaviour>(typeof(MarketAI), "GetVisitBehaviour", instanceMethod: true); }