Commit 741bd0d4 authored by Tommé Nöll's avatar Tommé Nöll
Browse files

got rid of some warnings

parent 92c81387
......@@ -12,7 +12,7 @@ public class CameraZone : MonoBehaviour
[Tooltip("How to scale the zone if the cameras aspect ration doesn't match")]
public FitMode fitMode;
private Bounds bounds;
private static CameraController camera;
private new static CameraController camera;
[SerializeField] [Range(0, 1f)]
private float triggerArea = 0.9f;
private bool playerWasInZone = false;
......
......@@ -23,7 +23,7 @@ public class VariableSoundPlayer : MonoBehaviour
{
public delegate void ActivateSoundDelegate(bool activate);
private int iCurrent = -1;
private Rigidbody2D rigidbody;
private new Rigidbody2D rigidbody;
public interface SoundOwner
{
......
......@@ -6,7 +6,7 @@ using UnityEngine;
public class CameraController : MonoBehaviour
{
[HideInInspector] public Player player;
private Camera camera;
private new Camera camera;
[SerializeField] private Camera corruptionCamera;
[SerializeField] private Vector3 offset;
......
......@@ -5,7 +5,7 @@ using UnityEngine.Events;
public abstract class Character : MonoBehaviour, VariableSoundPlayer.SoundOwner
{
public Rigidbody2D rigidbody;
public new Rigidbody2D rigidbody;
private bool airControl = true;
private bool isGrounded;
private Vector3 velocity = Vector3.zero;
......
......@@ -12,8 +12,8 @@ public class WindZone2D : MonoBehaviour
public float offset = 0f;
private float currentStrengthFactor;
private List<Collider2D> collidingObjects;
private Collider2D collider;
private ParticleSystem particleSystem;
private new Collider2D collider;
private new ParticleSystem particleSystem;
private ParticleSystemForceField particleForceField;
// Start is called before the first frame update
......
-nowarn:0649
\ No newline at end of file
fileFormatVersion: 2
guid: 0ba5d540fc6be06eda98305cc2fe12ad
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment