Quantcast
Channel: Questions in topic: "namespace"
Viewing all articles
Browse latest Browse all 398

namespaces and script names

$
0
0
I am working on a large project with loads of games under one repo and unity project. These are considered mini games in some respects. How can I work in this same repository, a different branch and against the branch have some setting that stops the names of scripts from other unwanted games coming up? I dont want to stop the scripts from working; Say im working on an fps mini game and a spacei nvaders mini game. Both will have their own gun mechanics, how do i make it so, i can use the script name gun.cs for both mini-games, and only show the one i want within the inspector add component field ? I already use namespaces.

Viewing all articles
Browse latest Browse all 398

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>