Skip to content

Commit

Permalink
rope is finished
Browse files Browse the repository at this point in the history
  • Loading branch information
MHabiburRahman7 committed Jun 12, 2021
1 parent 3a8cdb5 commit 26b2537
Show file tree
Hide file tree
Showing 15 changed files with 18,133 additions and 15,707 deletions.
6 changes: 6 additions & 0 deletions .vsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"version": "1.0",
"components": [
"Microsoft.VisualStudio.Workload.ManagedGame"
]
}
30 changes: 30 additions & 0 deletions Assets/AutoTagEnemies.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace TestGame
{
public class AutoTagEnemies : MonoBehaviour
{

// Start is called before the first frame update
void Start()
{

}

private void changeIntoEnemyTag()
{
for(int i=0; i<transform.childCount; i++)
{
transform.GetChild(i).gameObject.tag = "Enemy";
}
}

// Update is called once per frame
void Update()
{
changeIntoEnemyTag();
}
}
}
11 changes: 11 additions & 0 deletions Assets/AutoTagEnemies.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Gameplay/Scenes/LeashAgain.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 26b2537

Please sign in to comment.