Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.
Permalink
8ab221d4ed
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
20 lines (17 sloc) 497 Bytes
/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* The trigger events that can be raised on a collider.
*/
export type TriggerEventType = 'trigger-enter' | 'trigger-exit';
/**
* The collision events that can be raised on a collider.
*/
export type CollisionEventType = 'collision-enter' | 'collision-exit';
/**
* Used for the network payloads.
* @hidden
*/
export type ColliderEventType = TriggerEventType | CollisionEventType;