Initial commit

This commit is contained in:
OMGeeky
2022-05-21 16:42:57 +02:00
commit bd39a0a74f
2522 changed files with 238731 additions and 0 deletions

View File

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