protected override void Awake()
 {
     base.Awake();
     platformEffector = GetComponent <PlatformEffector2D>();
     TilePlatformManager.RegisterEntity(this);
 }
 private void OnDestroy()
 {
     TilePlatformManager.RemoveEntity(this);
 }