Josh
2 years ago
6 changed files with 5892 additions and 6 deletions
@ -0,0 +1,29 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
|
||||
|
public class Level : MonoBehaviour |
||||
|
{ |
||||
|
public List<GameObject> _players; |
||||
|
|
||||
|
// Start is called before the first frame update
|
||||
|
void Start() |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
// Update is called once per frame
|
||||
|
void Update() |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
protected void ActivatePlayers(bool value) |
||||
|
{ |
||||
|
foreach (GameObject player in _players) |
||||
|
{ |
||||
|
player.SetActive(value); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 1d589aba966b028449d1902f78c63837 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue