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

how to access script not derived from monobehavior ?

$
0
0
namespace Prototype.NetworkLobby { public class LobbyManager : NetworkLobbyManager { public void GoBackButton() { backDelegate(); topPanel.isInGame = false; } } } another script public class Escape : MonoBehaviour { void Update() { if (Input.GetKeyDown("f")) { // call GoBackButton(); from here } } }

Viewing all articles
Browse latest Browse all 398

Trending Articles



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