public void SetCurrentActivities(PlayerMovement player) { if(current_Activities!=null) { EndBuildTime(); } current_Activities = player.getAction (); //MonoBehaviour.print ("hello:" + player.name); }