Movement & Attaching etc.

also cleanup
This commit is contained in:
OMGeeky
2022-05-22 01:56:22 +02:00
parent 308f1d91f3
commit 6ffa65dcb1
13 changed files with 4085 additions and 360 deletions

View File

@@ -1,7 +1,3 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
@@ -9,9 +5,9 @@ public class DissolveCollidersExceptPlayer : MonoBehaviour
{
private void OnTriggerEnter2D( Collider2D col )
{
if ( !col.TryGetComponent( out Character character ) )
if ( !col.TryGetComponent( out Character character ) )
return;
if ( character.isActivePlayer )
return;