Exemplo n.º 1
0
        private static void AddPlayerFireStrategy(PlayerFireStrategyBuilder feature)
        {
            LogProgress("PlayerFireStrategy", feature);

            FileUtil.CopyNewFeatureCsFile(feature);
            FileUtil.AddFireStrategyToGameManagerCs(feature);

            FileUtil.AddFireStrategyToFireStrategyManager(feature);
            PrefabUtil.AddFireStrategyToGameSceneFireStrategyManager(feature);
        }
Exemplo n.º 2
0
 public static void AddFeatureWithPrefab(FeatureBuilder feature)
 {
     FileUtil.CopyNewFeatureCsFile(feature);
     PrefabUtil.CopyPrefabData(feature);
     FileUtil.AppendPrefabVariableToPoolListCs(feature);
 }